From ea0550c1b805379a63cfeeced09bb257e1583cb5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Luis=20Leal=20Cardoso=20Junior?= Date: Mon, 6 Jun 2016 00:57:15 -0300 Subject: [PATCH] Document file destination of build scripts. Close #2754 --- src/doc/build-script.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/doc/build-script.md b/src/doc/build-script.md index 2839052b1..20272113f 100644 --- a/src/doc/build-script.md +++ b/src/doc/build-script.md @@ -44,10 +44,7 @@ the source directory of the build script’s package. ## Outputs of the Build Script -All the lines printed to stdout by a build script that start with `cargo:` -are interpreted by Cargo and must be of the form `key=value`. - -Example output: +All the lines printed to stdout by a build script are written to a file like `target/debug/build//output` (the precise location may depend on your configuration). Any line that starts with `cargo:` is interpreted directly by Cargo. This line must be of the form `cargo:key=value`, like the examples below: ```notrust cargo:rustc-link-lib=static=foo -- 2.30.2